SAMBA Share
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install samba samba-common-bin
mkdir /home/pi/shared
sudo nano /etc/samba/smb.conf
smb.conf
[SHARE]
path = /mnt/HDDVOLUME
writeable=Yes
create mask=0777
directory mask=0777
public=no
sudo smbpasswd -a pi
make file share for single user
sudo addgroup smbgrp
sudo useradd smbuser -G newsmbgrp
smbpasswd -a smbuser
sudo mkdir -p /samba/smbuser
sudo chmod -R 0770 /samba/smbuser
sudo chown root:smbgrp /samba/smbuser
sudo systemctl restart smbd